import request from '@/utils/request'

// 获得水泵信息列表分页
export function getAcquisitionInfoList(query) {
  return request({
    url: '/equipment/water-pump/page',
    method: 'get',
    params: query
  })
}

// 获得水泵信息列表分页
export function getAcquisitionInfoPageTemp(data) {
  return request({
    url: '/equipment/water-pump/temp-page',
    method: 'get',
    params: data
  })
}

// 控制水泵开关
export function updateInfo(data) {
  return request({
    url: '/equipment/water-pump/temp-update',
    method: 'put',
    data: data
  })
}
